#include "main.h"

int play()
{
    int continuer = 1, frameLimit = 16;

    loadGame();
    initializePlayer();

    while(continuer)
    {
        getInput();
        updatePlayer();
        doFireballs();
        updateMonsters();

        draw();

        delay(frameLimit);
        frameLimit = SDL_GetTicks() + 16;         
    }
    cleanup();

    return 0;
}

int main()
{
    init("Last Stand v0.56a");

    loadMenu();
    drawMenu();
}


